package com.ifast.album.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 相册
 * @author ShiQiang
 *
 */
@TableName("tb_album_info")
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AlbumInfo implements Serializable{
    
	private static final long serialVersionUID = 4331752328742136164L;
	/** 主键 */
	@TableId(type= IdType.UUID)
    private String id ;
    private String albumName;		//相册名称
    private String classify;		//相册类别id 
    private String classifyName;	//相册类别名称
    private String classifyType;	//相册类型英文标识
    private Integer sort;			//排序
    private Integer total;			//包含图片总数
    private Integer nian;			//年
    private Integer yue;			//月
    private Integer ri;				//日
    private String userId;			//所属用户
    private String dwCode;		//所属单位
    private String deptId;
    private Integer albumSize;		//相册大小M
    private String coverUrl;		//相册封面
    private Integer doType;			//用途
    
    @Builder.Default
    @TableField(exist = false)
    private Integer pageSize = 10;
    @Builder.Default
    @TableField(exist = false)
    private Integer pageNo = 1;
    
    @Builder.Default
    private Integer delflag = new Integer(0);
    /** 创建人 */
    @TableField(fill = FieldFill.INSERT)
    private String createId ;
    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private String createTime ;
    /** 更新人 */
    @TableField(fill = FieldFill.UPDATE)
    private String updateId ;
    /** 更新时间 */
    @TableField(fill = FieldFill.UPDATE)
    private String updateTime ;
}